/* ========================================
   Product Details Page Styles
   ======================================== */

/* Hero Section */
.pd-hero-section {
    position: relative;
    width: 100%;
    height: 40rem;
    overflow: hidden;
    background-color: #1a1a1a;
}

.pd-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 3.75rem;
    display: flex;
    align-items: center;
}

.pd-hero-content {
    max-width: 56.25rem;
}

.pd-hero-title {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 6.25rem;
    color: #F5F3EE;
    line-height: 8.75rem;
    text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    text-align: left;
    margin: 0 0 1rem 0;
}

.pd-hero-subtitle {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 2.875rem;
    color: #F5F3EE;
    line-height: 4rem;
    text-align: left;
    margin: 0 0 1.5rem 0;
}

.pd-hero-desc {
    font-family: ArialMT, ArialMT;
    font-weight: 400;
    font-size: 2rem;
    color: #F5F3EE;
    line-height: 2.5rem;
    text-align: left;
    margin: 0;
}

/* ========================================
   Product Details Section
   ======================================== */
.pd-detail-section {
    width: 100%;
    padding: 5rem 0;
    background-color: #FFFFFF;
}

.pd-detail-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 3.75rem;
}

.pd-detail-title {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 3rem;
    color: #0B0F0D;
    line-height: 4rem;
    text-align: left;
    margin: 0 0 3rem 0;
}

.pd-detail-content {
    display: flex;
    gap: 4rem;
}

.pd-detail-image {
    flex: 0 0 45%;
    max-width: 45%;
}

.pd-detail-image img {
    width: 100%;
    object-fit: cover;
}

.pd-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pd-detail-code {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 2.25rem;
    color: #0B0F0D;
    line-height: 3.125rem;
    margin: 0 0 0.5rem 0;
}

.pd-detail-name {
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 2rem;
    color: #0B0F0D;
    line-height: 2.8125rem;
    margin: 0 0 2rem 0;
}

.pd-detail-specs {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    margin-bottom: 2rem;
}

.pd-spec-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.fabric-card-link .arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.fabric-card-link:hover .arrow {
    transform: translateX(0.25rem);
}


.pd-spec-label {
    font-family: ArialMT, ArialMT;
    font-weight: 400;
    font-size: 1.75rem;
    color: #0B0F0D;
    line-height: 2.4375rem;
    min-width: 10rem;
    flex: 0 0 15rem; /* 固定左侧标签宽度，可自行修改 */
    text-align: left;
}

.pd-spec-value {
    font-family: ArialMT, ArialMT;
    font-weight: 400;
    font-size: 1.75rem;
    color: #666666;
    line-height: 2.4375rem;
}

.pd-detail-colors {
    margin-bottom: 2.5rem;
}

.pd-colors-label {
    display: block;
    font-family: ArialMT, ArialMT;
    font-weight: 400;
    font-size: 1.75rem;
    color: #0B0F0D;
    line-height: 2.4375rem;
    margin-bottom: 1rem;
}

.pd-colors-list {
    display: flex;
    gap: 1rem;
}

.pd-color-swatch {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: cover;
    border-radius: 2.25rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pd-color-swatch:hover {
    transform: scale(1.1);
}

.pd-detail-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
}

.pd-btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #0B0F0D;
    color: #FFFFFF;
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.5rem;
    text-decoration: none;
    border: 2px solid #0B0F0D;
    transition: all 0.3s ease;
}

.pd-btn-primary:hover {
    background-color: #333333;
}

.pd-btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #FFFFFF;
    color: #0B0F0D;
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.5rem;
    text-decoration: none;
    border: 2px solid #0B0F0D;
    transition: all 0.3s ease;
}

.pd-btn-secondary:hover {
    background-color: #f5f5f5;
}

/* ========================================
   Responsive - 1440px
   ======================================== */
@media screen and (max-width: 1440px) {
    .pd-hero-section {
        height: 36rem;
    }

    .pd-hero-container {
        padding: 0 3rem;
    }

    .pd-hero-title {
        font-size: 5rem;
        line-height: 7rem;
    }

    .pd-hero-subtitle {
        font-size: 2.25rem;
        line-height: 3.25rem;
    }

    .pd-hero-desc {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .pd-detail-section {
        padding: 4rem 0;
    }

    .pd-detail-container {
        padding: 0 3rem;
    }

    .pd-detail-title {
        font-size: 2.5rem;
        line-height: 3.5rem;
        margin-bottom: 2.5rem;
    }

    .pd-detail-content {
        gap: 3rem;
    }

    .pd-detail-code {
        font-size: 1.875rem;
        line-height: 2.625rem;
    }

    .pd-detail-name {
        font-size: 1.75rem;
        line-height: 2.5rem;
    }

    .pd-spec-label,
    .pd-spec-value,
    .pd-colors-label {
        font-size: 1.5rem;
        line-height: 2.0625rem;
    }

    .pd-color-swatch {
        width: 2.5rem;
        height: 2.5rem;
    }

    .pd-btn-primary,
    .pd-btn-secondary {
        padding: 0.875rem 2rem;
        font-size: 1.375rem;
    }
}

/* ========================================
   Responsive - 1200px
   ======================================== */
@media screen and (max-width: 1200px) {
    .pd-hero-section {
        height: 32rem;
    }

    .pd-hero-container {
        padding: 0 2.5rem;
    }

    .pd-hero-title {
        font-size: 4.5rem;
        line-height: 6.25rem;
    }

    .pd-hero-subtitle {
        font-size: 2rem;
        line-height: 2.875rem;
    }

    .pd-hero-desc {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .pd-detail-section {
        padding: 3.5rem 0;
    }

    .pd-detail-container {
        padding: 0 2.5rem;
    }

    .pd-detail-title {
        font-size: 2.25rem;
        line-height: 3rem;
        margin-bottom: 2rem;
    }

    .pd-detail-content {
        gap: 2.5rem;
    }

    .pd-detail-code {
        font-size: 1.625rem;
        line-height: 2.25rem;
    }

    .pd-detail-name {
        font-size: 1.5rem;
        line-height: 2.125rem;
    }

    .pd-spec-label,
    .pd-spec-value,
    .pd-colors-label {
        font-size: 1.375rem;
        line-height: 1.875rem;
    }

    .pd-color-swatch {
        width: 2.25rem;
        height: 2.25rem;
    }

    .pd-btn-primary,
    .pd-btn-secondary {
        padding: 0.75rem 1.75rem;
        font-size: 1.25rem;
    }
}

/* ========================================
   Responsive - 992px
   ======================================== */
@media screen and (max-width: 992px) {
    .pd-hero-section {
        height: 28rem;
    }

    .pd-hero-container {
        padding: 0 2rem;
    }

    .pd-hero-title {
        font-size: 3.75rem;
        line-height: 5.25rem;
    }

    .pd-hero-subtitle {
        font-size: 1.75rem;
        line-height: 2.5rem;
    }

    .pd-hero-desc {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .pd-detail-section {
        padding: 3rem 0;
    }

    .pd-detail-container {
        padding: 0 2rem;
    }

    .pd-detail-title {
        font-size: 2rem;
        line-height: 2.75rem;
        margin-bottom: 2rem;
    }

    .pd-detail-content {
        flex-direction: column;
        gap: 2rem;
    }

    .pd-detail-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pd-detail-code {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .pd-detail-name {
        font-size: 1.375rem;
        line-height: 1.9375rem;
    }

    .pd-spec-label,
    .pd-spec-value,
    .pd-colors-label {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .pd-spec-label {
        min-width: 8.75rem;
    }

    .pd-color-swatch {
        width: 2rem;
        height: 2rem;
    }

    .pd-btn-primary,
    .pd-btn-secondary {
        padding: 0.6875rem 1.5rem;
        font-size: 1.125rem;
    }
}

/* ========================================
   Responsive - 768px (Mobile)
   ======================================== */
@media screen and (max-width: 768px) {
    .pd-hero-section {
        height: 24rem;
    }

    .pd-hero-container {
        padding: 0 1.5rem;
    }

    .pd-hero-title {
        font-size: 2.5rem;
        line-height: 3.5rem;
        margin-bottom: 0.75rem;
        word-break: break-word;
    }

    .pd-hero-subtitle {
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: 1rem;
        word-break: break-word;
    }

    .pd-hero-desc {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .pd-detail-section {
        padding: 2.5rem 0;
    }

    .pd-detail-container {
        padding: 0 1.5rem;
    }

    .pd-detail-title {
        font-size: 1.75rem;
        line-height: 2.375rem;
        margin-bottom: 1.5rem;
    }

    .pd-detail-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .pd-detail-image {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .pd-detail-code {
        font-size: 1.375rem;
        line-height: 1.875rem;
    }

    .pd-detail-name {
        font-size: 1.25rem;
        line-height: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .pd-detail-specs {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .pd-spec-row {
        flex-wrap: wrap;
    }

    .pd-spec-label,
    .pd-spec-value,
    .pd-colors-label {
        font-size: 1.125rem;
        line-height: 1.5625rem;
    }

    .pd-spec-label {
        min-width: auto;
        margin-right: 0.5rem;
    }

    .pd-colors-list {
        flex-wrap: wrap;
    }

    .pd-color-swatch {
        width: 1.875rem;
        height: 1.875rem;
    }

    .pd-detail-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .pd-btn-primary,
    .pd-btn-secondary {
        display: block;
        text-align: center;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* ========================================
   Responsive - 480px (Small Mobile)
   ======================================== */
@media screen and (max-width: 480px) {
    .pd-hero-section {
        height: 20rem;
    }

    .pd-hero-container {
        padding: 0 1rem;
    }

    .pd-hero-title {
        font-size: 2rem;
        line-height: 2.75rem;
        margin-bottom: 0.5rem;
    }

    .pd-hero-subtitle {
        font-size: 1.25rem;
        line-height: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .pd-hero-desc {
        font-size: 0.9375rem;
        line-height: 1.375rem;
    }

    .pd-detail-section {
        padding: 2rem 0;
    }

    .pd-detail-container {
        padding: 0 1rem;
    }

    .pd-detail-title {
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: 1.25rem;
    }

    .pd-detail-code {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .pd-detail-name {
        font-size: 1.125rem;
        line-height: 1.5625rem;
        margin-bottom: 1.25rem;
    }

    .pd-spec-label,
    .pd-spec-value,
    .pd-colors-label {
        font-size: 1rem;
        line-height: 1.375rem;
    }

    .pd-color-swatch {
        width: 1.75rem;
        height: 1.75rem;
    }

    .pd-btn-primary,
    .pd-btn-secondary {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }
}
